<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css"
          integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap-theme.min.css"
          integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js"
            integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
            crossorigin="anonymous"></script>

</head>
<body>
<div class="container-fluid">
    <div class="row">
        <div class="col-xs-4 col-md-offset-4">
            <form class="form-horizontal" style="margin-top: 50px" action="updateDept" method="post">
                <div class="form-group" hidden>
                    <label for="deptNo" class="col-sm-2 control-label">部门名称：</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="deptNo" placeholder="请输入姓名" name="deptNo" th:value="${deptInfo.deptNo}">
                    </div>
                </div>
                <div class="form-group">
                    <label for="dname" class="col-sm-2 control-label">部门名称：</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="dname" placeholder="请输入姓名" name="dname" th:value="${deptInfo.dname}">
                    </div>
                </div>
                <div class="form-group">
                    <label for="loc" class="col-sm-2 control-label">部门地址：</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="loc" placeholder="输入工作名称" name="loc" th:value="${deptInfo.loc}">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-default">修改</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>